logOfflineActions
logOfflineActions
Path Parameters
appointment_uuid string required
appointment_uuid
Header Parameters
authorization string required
authorization
application/json
Request Body required
request
dealerDepartmentUuidList string[]
requesterUserUuid string
serviceAppointmentActionList object[]
Responses
- 200
- 201
- 401
- 403
- 404
OK
application/json
Schema
Example (from schema)
Schema
error object
statusCode int32
warnings object[]
{
"error": {
"code": "string",
"description": "string",
"metadata": {}
},
"statusCode": 0,
"warnings": [
{
"code": "string",
"description": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found
POST /appointment/:appointment_uuid/log-action/offline
Request
Request
curl / cURL
curl -L -X POST '//api.mykaarma.com/mobile-service/appointment/:appointment_uuid/log-action/offline' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUuidList": [
"string"
],
"requesterUserUuid": "string",
"serviceAppointmentActionList": [
{
"action": "START_DRIVING",
"latitude": "string",
"longitude": "string",
"performedByUserUUID": "string",
"timestamp": "string",
"uuid": "string"
}
]
}'
python / requests
curl -L -X POST '//api.mykaarma.com/mobile-service/appointment/:appointment_uuid/log-action/offline' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUuidList": [
"string"
],
"requesterUserUuid": "string",
"serviceAppointmentActionList": [
{
"action": "START_DRIVING",
"latitude": "string",
"longitude": "string",
"performedByUserUUID": "string",
"timestamp": "string",
"uuid": "string"
}
]
}'
go / native
curl -L -X POST '//api.mykaarma.com/mobile-service/appointment/:appointment_uuid/log-action/offline' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUuidList": [
"string"
],
"requesterUserUuid": "string",
"serviceAppointmentActionList": [
{
"action": "START_DRIVING",
"latitude": "string",
"longitude": "string",
"performedByUserUUID": "string",
"timestamp": "string",
"uuid": "string"
}
]
}'
nodejs / axios
curl -L -X POST '//api.mykaarma.com/mobile-service/appointment/:appointment_uuid/log-action/offline' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUuidList": [
"string"
],
"requesterUserUuid": "string",
"serviceAppointmentActionList": [
{
"action": "START_DRIVING",
"latitude": "string",
"longitude": "string",
"performedByUserUUID": "string",
"timestamp": "string",
"uuid": "string"
}
]
}'
ruby / Net::HTTP
curl -L -X POST '//api.mykaarma.com/mobile-service/appointment/:appointment_uuid/log-action/offline' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUuidList": [
"string"
],
"requesterUserUuid": "string",
"serviceAppointmentActionList": [
{
"action": "START_DRIVING",
"latitude": "string",
"longitude": "string",
"performedByUserUUID": "string",
"timestamp": "string",
"uuid": "string"
}
]
}'
csharp / RestSharp
curl -L -X POST '//api.mykaarma.com/mobile-service/appointment/:appointment_uuid/log-action/offline' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUuidList": [
"string"
],
"requesterUserUuid": "string",
"serviceAppointmentActionList": [
{
"action": "START_DRIVING",
"latitude": "string",
"longitude": "string",
"performedByUserUUID": "string",
"timestamp": "string",
"uuid": "string"
}
]
}'
php / cURL
curl -L -X POST '//api.mykaarma.com/mobile-service/appointment/:appointment_uuid/log-action/offline' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUuidList": [
"string"
],
"requesterUserUuid": "string",
"serviceAppointmentActionList": [
{
"action": "START_DRIVING",
"latitude": "string",
"longitude": "string",
"performedByUserUUID": "string",
"timestamp": "string",
"uuid": "string"
}
]
}'
java / OkHttp
curl -L -X POST '//api.mykaarma.com/mobile-service/appointment/:appointment_uuid/log-action/offline' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUuidList": [
"string"
],
"requesterUserUuid": "string",
"serviceAppointmentActionList": [
{
"action": "START_DRIVING",
"latitude": "string",
"longitude": "string",
"performedByUserUUID": "string",
"timestamp": "string",
"uuid": "string"
}
]
}'
powershell / RestMethod
curl -L -X POST '//api.mykaarma.com/mobile-service/appointment/:appointment_uuid/log-action/offline' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerDepartmentUuidList": [
"string"
],
"requesterUserUuid": "string",
"serviceAppointmentActionList": [
{
"action": "START_DRIVING",
"latitude": "string",
"longitude": "string",
"performedByUserUUID": "string",
"timestamp": "string",
"uuid": "string"
}
]
}'